package co.edu.usbcali.scrum.dataaccess.dao;

import co.edu.usbcali.scrum.modelo.PersonaRol;
import co.edu.usbcali.scrum.modelo.PersonaRolId;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for PersonaRolDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IPersonaRolDAO {
    public void save(PersonaRol instance);

    public void delete(PersonaRol instance);

    public void update(PersonaRol instance);

    public PersonaRol findById(PersonaRolId id);

    public List<PersonaRol> findByExample(PersonaRol instance);

    public List<PersonaRol> findByProperty(String propertyName, Object value);

    public List<PersonaRol> findAll();

    public List<PersonaRol> findByCriteria(String whereCondition);

    public List<PersonaRol> findPagePersonaRol(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberPersonaRol();

    public List<PersonaRol> findById(Object id);
}
